import { readXlsx } from "@/common/readData";
import { defineStore } from "pinia";

export default defineStore("read", () => {
  async function read(id: number) {
    await readXlsx(id);
  }

  return { read };
});
